package com.enba.rbacadmin.module.dict.controller.req;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SysDictAddUpdateReq {
  private Long id;

  @ApiModelProperty("字典名称")
  @NotBlank(message = "字典名称不能为空")
  private String dictName;

  @ApiModelProperty("字典编码")
  @NotBlank(message = "字典编码不能为空")
  private String dictCode;

  @ApiModelProperty("字典描述")
  private String description;

  @ApiModelProperty("字典状态（0：禁用 1：可用）")
  @NotNull(message = "字典状态不能为空")
  private Integer status;
}
